package com.woniuxy.service;


import com.woniuxy.entity.Equipment;
import com.woniuxy.entity.PageBean;

import java.util.List;

//设备业务层
public interface EquipmentService {
    //分页展示所有设备信息
    //通过设备名查询
    PageBean<Equipment> getEquipmentPageByCondition(Equipment equipment, int pageIndex, int pageSize);

    //通过设备种类查询
    PageBean<Equipment> getEquipmentPageByCategory(Equipment equipment, int pageIndex, int pageSize);

    //添加设备
    void addEquipment(Equipment equipment,String state);

    //获取查询设备
    List<Equipment> getEquipmentByName(Equipment equipment);
}
